package ltd.newbee.mall.dto;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @description:
 * @author: qzx
 * @date: 2022-08-15 12:19
 * @version: 1.0
 */
@Data
public class AdminLogOperateDto implements Serializable {

    private Long id;

    private Long userId;

    private String title;

    private String className;

    private String methodName;

    private String requestMethod;

    private String requestParams;

    private String jsonResult;

    private String errorMsg;

    private String ip;

    private String address;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    private AdminUserDto userDto;
}
